<?php

namespace App\Controller\Tunnel;

use App\Tunnel\TunnelInterface;
use Yolo\Rpc\Annotations\RpcController;
use Yolo\Rpc\Annotations\Tunnel;

#[RpcController]
class TunnelController implements TunnelInterface
{

    #[Tunnel]
    public function testTunnel(): array
    {
        return [
            'message' => 'Hello, Tunnel!',
        ];
    }
}
